<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>crud</title>
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
</head>
<body>
<table align="center" width="50%">
    <tr>
        <th>ID</th>
        <th>NAME</th>
    </tr>
    <tr>
        <td></td>
        <td></td>
        <td colspan="2"></td>
    </tr>
   <input type="text" id="zz" > <input type="button" onclick="zhze()" value="sbmit">
</table>

<div class="easyui-panel" style="width:600px;height:250px"
       url="data/datagrid_data.json"
       title="DataGrid - Complex Toolbar" toolbar="#tb"
       singleSelect="true" fitColumns="true">
 </div>
<table class="easyui-datagrid" style="width:600px;height:250px"
       url="data/datagrid_data.json"
       title="DataGrid - Complex Toolbar" toolbar="#tb"
       singleSelect="true" fitColumns="true" >
    <thead>
    <tr>
        <th field="itemid" width="60">Item ID</th>
        <th field="productid" width="80">Product ID</th>
        <th field="listprice" align="right" width="70">List Price</th>
        <th field="unitcost" align="right" width="70">Unit Cost</th>
        <th field="attr1" width="200">Address</th>
        <th field="status" width="50">Status</th>
    </tr>
    </thead>
</table>

<div id="tb" style="padding:5px;height:auto">
    <div style="margin-bottom:5px">
        <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true"></a>
        <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true"></a>
        <a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true"></a>
        <a href="#" class="easyui-linkbutton" iconCls="icon-cut" plain="true"></a>
        <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true"></a>
    </div>
    <div>
        Date From: <input class="easyui-datebox" style="width:80px">
        To: <input class="easyui-datebox" style="width:80px">
        Language:
        <input class="easyui-combobox" style="width:100px"
               url="data/combobox_data.json"
               valueField="id" textField="text">
        <a href="#" class="easyui-linkbutton" iconCls="icon-search">Search</a>
    </div>
</div>
</body>
<script>
    function zhze(){

        //var   re =new RegExp("^[A-Za-z]+[A-Za-z0-9_]*$");
       // var   re =new RegExp("^(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)$");
        var   re =new RegExp("\"([^\"|[\u4e00-\u9fa5]]+)\"");
        var value = document.getElementById("zz").value;
        var flag = re.test(value)
        alert(flag);
        alert("321");
    }


</script>
</html>